<!DOCTYPE html>
<html th:lang="#{lang}">
<head>
  <meta charset="UTF-8" />
  <title th:text="|#{user.register}-#{title}|"></title>
  <meta name="keywords" th:content="#{keywords}">
  <meta name="description" th:content="#{description}">
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,initial-scale=1.0" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta content="black" name="apple-mobile-web-app-status-bar-style" />
  <meta content="telephone=no" name="format-detection" />
  <link rel="icon" sizes="16x16" href="/static/img/favicon.ico" />
  <link rel="icon" type="image/png" href="/static/img/favicon.png" />
  <link href="/static/css/global.css" rel="stylesheet" type="text/css"/>
  <link href="/static/css/style.css" rel="stylesheet" type="text/css"/>
  <style>
    .user_agreement{
      font-size: 12px;
      color: #3591d5;
      margin-top: 15px;
    }
    .user_agreement a{
      color:#3591d5;
    }
  </style>
</head>
<body>

<!--head-->
<div class="subHeader">
  <div class="BarTit" th:text="#{user.register}">register</div>
  <a href="javascript:" class="iconRet" onclick="goBack()"></a>
  <a href="/comic/login" class="linktxt f29" th:text="#{user.login}">login</a>
</div>

<!--head end-->
<div class="loginBox">
  <form method="POST" action="/api/register" accept-charset="UTF-8">
    <input type="text" name="textfield" class="RegInput" id="regname" placeholder="Input username" onBlur="m_register.username(this)">
    <p style="display:none"></p>
    <input type="password" name="textfield" class="RegInput" id="regpass" onBlur="m_register.pass(this)" placeholder="Input password">
    <p style="display:none"></p>
    <input type="password" name="textfield" class="RegInput" id="regpass1" onBlur="m_register.repass(this)" placeholder="Input password again">
    <p style="display:none"></p>
    <div class="clear"></div>
    <p id="codeTip" style="display:none"></p>
    <div id="readFw"><input type="checkbox" id="readcheck"/>
      <label for="readcheck" th:text="#{register.title}">我已阅读并同意</label>
        <a href="#" class="user_agreement" th:text="#{login.notice1}">服务使用协议</a>、
        <a href="#" class="user_agreement" th:text="#{login.notice2}">动漫之家隐私策略</a>
    </div>
    <a class="RegBtn" onClick="m_register.regclick()" th:text="#{user.register}">立即注册</a>
  </form>
</div>

</body>
<div th:replace="common/js"></div>
<script type="text/javascript" src="/static/js/m_regis.js"></script>
</html>